div{
    height: 100px;
    width: 100px;
    background-color: lightsalmon;
}

div:nth-child(1){
    margin: 10px 20px 30px 40px;
    padding: 10px 20px 30px 40px;
}

div:nth-child(2){
    margin: 0 auto;
}

